package com.test.dao;

import com.test.domain.HistoryOrder;


import java.util.List;

public interface HistoryOrderDao {

    //获取所有订单号通过顾客手机号
    List<String> getHistoryOrderNumListByPhoneNumberC(String customerPhoneNumber);

    //获取所有订单号通过商家手机号
    List<String> getHistoryOrderNumListByPhoneNumberM(String merchantPhoneNumber);

    //根据订单号查询一整条信息
    HistoryOrder getHistoryOrderByHistoryOrderNumber(String historyOrderNumber);

    //根据订单号更新评分
    int updateGradeByHistoryNumber(String historyOrderNumber,Integer merchantOrderGrade);
}
